package com.git.yyy.demo.client;

import com.git.yyy.demo.client.fallback.XxxClientFallback;
import com.git.yyy.demo.config.FeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(contextId = "xxxClient",name = "xxx-demo",configuration = FeignConfig.class,fallback = XxxClientFallback.class)
public interface XxxClient {

    @GetMapping(value = "/test")
    String test();

}
